package com.bjxst;

import org.apache.commons.io.IOUtils;

import java.io.FileInputStream;
import java.io.InputStream;

public class IOUtilsDemo02 {
    public static void main(String[] args) throws Exception {
        String content = IOUtils.toString(new FileInputStream("d:/b.txt"), "utf-8");
        System.out.println(content);
    }
}